extends "../cTDZ_2_1_1/cTDZ_2_1_1.gd"
func _info():
	pass

func _connect():
	._connect()
var baseId = ""
func _extInit():
	._extInit()
	lv = 4
	attCoe.atk *=1.5
	attCoe.maxHp *= 1.2
	addCdSkill("klgw2",11)
	addSkillTxt("国王赦免：为攻击范围内队友附加4层<圣盾>[cd:11秒]")
	
func _castCdSkill(id):
	._castCdSkill(id)

	if id == "klgw2":
		cst("国王赦免","000000",position)
		var chas = getAllChas(2)
		for i in chas:
			if i == self:continue
			if inrange(i.cell,cell,att.atkRan):
				i.addBuff(ctrl.b_shengdun.new(4))
		addBuff(ctrl.b_shengdun.new(4))